package com.gbq.qimo.mapper;

import com.gbq.qimo.pojo.Teacher;

import java.util.List;

/**
 * @ClassName TeacherMapper
 * @Description TODO
 * @Author guobenqi
 * @Date 2021/5/29 15:51
 */
public interface TeacherMapper {
    Teacher findOneTeacher(String uid, String password);

    List<Teacher> findAllteacher();

    int addOneTeacher(Teacher teacher);

    Teacher findOneTeacherByUsername(String username);

    int register(String username, String password);
}
